<?php
    
    require_once( CLASS_REQUIRE_INDEX );
    require_once( CLASS_FUNCTIONS );
    require_once( CLASS_REQUIRE_MODEL );
    require_once( MODEL_DIR ."PlaylistModel.class.php" );
    
         
         class PlaylistController extends IndexController {

            
            function __construct(){
                parent::__construct();

                $this->model = new PlaylistModel();
            }
         
         public function defaultAction(){
             
             $Playlist = $this->model->get_Playlist();
             
             parent::setAttribute("playlist",$Playlist);
             
                 parent::setAttribute("lateral","main_lateral.html");
                 parent::setAttribute("view","main/main_playlist.html");
                 parent::execute("main_index_interna.html");
            }
         

}


?>
